package com.zyd.blog.homeart.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class AppConstant {

    public static class TempleSystemConstant {
        public static SimpleDateFormat format = new SimpleDateFormat("yyyyMMddHHmmss");
        public static Date today = new Date();
        public static final String APP_ID = "GBWd3f944uVsJYk58pbQwy2amt0JWoehjFcKEDynuJeRr8EhRVtPzdVu2m2o8Dtd";

        public static final String APP_SECRET = "fv76yrxvEMBpykG8hcdGZg==";

        public static final String BUCKET_NAME = "Temple";

//        public static final String GET_TOKEN_URL ="http://192.168.1.51:8083/authoriz/getToken";
//
//        public static final String FILE_UPLOAD_URL ="http://192.168.1.51:8085/file/fileUploadBolg";
//
//        public static final String PREFIX_FILE_URL =" http://192.168.1.51:8085/file/";

        //public static final String PHOTO_FLIE_URL = "https://oss.wljiam.com/file/Temple/";

//        public static final String ORDER_URL = "http://192.168.1.32:8011/create-public-orders";
//
//        public static final String SUCCESS_ORDER = "http://192.168.1.32:8011/complete";

       // public static final String FILE_TEMP_PATH ="E:\\"+format.format(today)+"tmp";



    }
    public static String Name(String userId){
         SimpleDateFormat format = new SimpleDateFormat("yyyyMMddHHmmss");
         Date today = new Date();
         return  format.format(today)+""+userId+"tmp";
    }
}
